package com.example.blog.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "直播信息接口出参")
public class LiveInfoResDto {

    @ApiModelProperty(value = "直播信息id")
    private String id;

    @ApiModelProperty(value = "房间号，6位数")
    private String roomNo;

    @ApiModelProperty(value = "房间名")
    private String roomName;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "介绍")
    private String introduce;

    @ApiModelProperty(value = "直播用户昵称")
    private String userName;

    @ApiModelProperty(
            value = "开始时间",
            example = "2022-01-20 10:10:10"
    )
    private LocalDateTime startTime;

    @ApiModelProperty(
            value = "实际开始时间",
            example = "2022-01-20 10:10:10"
    )
    private LocalDateTime actualStartTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "回放链接")
    private String playbackUrl;

    @ApiModelProperty(value = "直播状态,0未开始1已开始2已结束")
    private Integer liveStatus;

    @ApiModelProperty(value = "状态，0隐藏1启用9删除")
    private Integer status;

    @ApiModelProperty(value = "userSig")
    private String userSig;

    @ApiModelProperty(value = "shareUserSig")
    private String shareUserSig;

}
